<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
    <link rel="icon" href="<%= BASE_URL %>logo.png">
    <title>新疆高考志愿辅助填报系统</title>
    <script src="http://pv.sohu.com/cityjson?ie=utf-8"></script>
  </head>
  <body>
    <noscript>
      <strong>We're sorry but gdap-front doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
    </noscript>
    <div id="app"></div>
    <!-- built files will be auto injected -->
    <script>
      function IsPC() {
          var userAgentInfo = navigator.userAgent;
          var Agents = ["Android", "iPhone",
              "SymbianOS", "Windows Phone",
              "iPad", "iPod"];
          var flag = true;
          for (var v = 0; v < Agents.length; v++) {
              if (userAgentInfo.indexOf(Agents[v]) > 0) {
                  flag = false;
                  break;
              }
          }
          return flag;//true为PC端，false为手机端和ipad
      }

      var flag = IsPC();
      if (!flag) {
          var domain = document.domain;
          window.location.href = "http://" + domain + "/nceeAppMgr";
      }
    </script>
  </body>
</html>
